더 멋지게 처리하는 방법을 아시면 댓글 남겨주세요

1
2
3
4
5
6
7
8
9
10
11
12
13
14
.transparent-scrollbar-container {
position:relative;
width: 100%;
height: 100%;
overflow-y: hidden;
}

.transparent-scrollbar {
position: absolute;
top: 0;
bottom: 0;
left: 0;
overflow-y: auto;
}
1
2
3
4
<div class="transparentt-scrollbar-container">
<div class="transparent-scrollbar">
</div>
</div>

Reference

https://stackoverflow.com/questions/16670931/hide-scroll-bar-but-while-still-being-able-to-scroll